package com.sdtv.basemodule.rx.errorhandler;

import android.content.Context;

/**
 * @ProjectName: MediunFusion
 * @Package: com.sdtv.basemodule.rx.errorhandler
 * @ClassName: ResponseErrorListener
 * @Description: Rx请求错误监听
 * @Author: 小郭同学
 * @CreateDate: 2019-06-21 14:24
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public interface ResponseErrorListener {

    void handleResponseError(Context context, Throwable throwable);

    ResponseErrorListener EMPTY = new ResponseErrorListener() {
        @Override
        public void handleResponseError(Context context, Throwable throwable) {

        }
    };
}
